// import router from "@/routers/index";
// import { RouteRecordRaw } from "vue-router";
import { AuthStore } from "@/stores/modules/auth";

/**
 * @description 初始化动态路由
 */
export const initDynamicRouter = async () => {
    const authStore = AuthStore();
    try {
        await authStore.getAuthMenuList();
    } catch (error) {
        return Promise.reject(error);
    }
}